﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Global.master" AutoEventWireup="true"
    CodeFile="newslist.aspx.cs" Inherits="newslist" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="adpic" align="center">
        <img border="0" alt="" src="images/neiye7.jpg" /></div>
    <div id="main">
        <div class="main_l">
            <!--列表 begin-->
            <div class="box33">
                <!--------------------------------------------------------------->
                <div class="box33_t">
                    <h3>
                        新闻咨询</h3>
                </div>
                <div class="box33_m">
                    <ul id="sidebar">
                        <asp:Repeater ID="rep_NewsCategory" runat="server">
                            <ItemTemplate>
                                <li><a href="newslist.aspx?category=<%# Eval("Id") %>">
                                    <%# Eval("Name") %></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <!---------------------------------------------------------->
            </div>
        </div>
        <div class="main_r">
            <!--列表 begin-->
            <div class="box4">
                <div class="box4_t">
                    <!-------------------导航----------------------------->
                    <asp:SiteMapPath ID="SiteMapPath1" runat="server" ShowToolTips="true">
                    </asp:SiteMapPath>
                </div>
                <div class="box4_m">
                    <!----------------------主体内容------------------------------------>
                    <ul class="newslist">
                        <asp:Repeater ID="rep_newsContent" runat="server">
                            <ItemTemplate>
                                <li><span class="news-content"><a href="news.aspx?category=<%# Eval("CategoryId") %>&id=<%# Eval("Id") %>"
                                    title="<%# Eval("Title") %>">
                                    <%#Eval("Title") %></a></span> <span class="news-time">[
                                        <%# Eval("time") %>
                                        ]</span> </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div class="productlist-page">
                        <%--<span class="sum-page">共<asp:Label ID="lb_NewsCount" runat="server" Text="lb_NewsCount"></asp:Label>条&nbsp;&nbsp;<asp:Label
                            ID="lb_PageNow" runat="server" Text="lb_PageNow"></asp:Label>/<asp:Label ID="lb_PageCount"
                                runat="server" Text="lb_PageCount"></asp:Label>页&nbsp;&nbsp;每页10条 </span>--%>
                        <span class="sum-page">
                            <asp:Label ID="lb_SumPage" runat="server"></asp:Label>
                        </span>
                        <%--<span class="next-page" id="prev" runat="server"><a href="#"
                            title="首页">首页</a> <a runat="server" href="#" title="上一页">
                                上一页</a> </span>--%>
                        <span class="next-page" id="prev" runat="server">
                            <asp:HyperLink ID="hl_BeginPage" runat="server">首页</asp:HyperLink>&nbsp;<asp:HyperLink
                                    ID="hl_PrevPage" runat="server">上一页</asp:HyperLink></span>
                        
                        <span class="pagenumber">
                            <%--<!--页码上半部分的数据 start-->
                            <!--页码上半部分的数据 end-->
                            <!--当前页码-->
                            <b class="on-page">1</b>
                            <!--页码下半部分的数据 start-->
                            <a href="#" title="第2页">2</a> <a href="#" title="第3页">3</a>
                            <!--页码下半部分的数据 end-->--%>
                            
                            
                        </span>
                        <%--<span class="next-page" id="next" runat="server"><a href="#" title="下一页">下一页</a> <a href="#" title="尾页">
                            尾页</a> </span>--%>
                            <span class="next-page" id="next" runat="server">
                                <asp:HyperLink ID="hl_NextPage" runat="server">下一页</asp:HyperLink>&nbsp;<asp:HyperLink
                                    ID="hl_EndPage" runat="server">尾页</asp:HyperLink></span>
                    </div>
                    <div class="contact_bg">
                    </div>
                </div>
            </div>
            <!--列表 end-->
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
